﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FrameWork.Components
{
    /// <summary>
    /// 学员实体类
    /// </summary>
    public class stu_StudentInfoTable
    {
        #region "private Variables"
        private string _DB_Option_Action_;  // 操作方法 Insert:增加 Update:修改 Delete:删除 
        private string _StuID; //学员编号
        private string _S_Name;    //学员姓名
        private int _S_ClassID;   //班级编号
        private int _S_State;  //学员状态
        
        #endregion

        #region "public Variables"
        /// <summary>
        /// 学员编号
        /// </summary>
        public string StuID
        {
            get { return _StuID; }
            set { _StuID = value; }
        }
        /// <summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        /// </summary>
        public string DB_Option_Action_
        {
            get { return _DB_Option_Action_; }
            set { _DB_Option_Action_ = value; }
        }
        /// <summary>
        /// 学员姓名
        /// </summary>
        public string S_Name
        {
            get { return _S_Name; }
            set { _S_Name = value; }
        }
        /// <summary>
        /// 班级编号与班级stu_ClassInfo表中ClassID关联
        /// </summary>
        public int S_ClassID
        {
            get { return _S_ClassID; }
            set { _S_ClassID = value; }
        }
        /// <summary>
        /// 学员状态
        /// </summary>
        public int S_State
        {
            get { return _S_State; }
            set { _S_State = value; }
        }

        /// <summary>
        /// 性别
        /// </summary>
        public bool S_Gender { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string S_CardID { get; set; }
        /// <summary>
        /// 家中电话
        /// </summary>
        public string S_HomePhone { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string S_Phone { get; set; }
        /// <summary>
        /// 入学日期
        /// </summary>
        public DateTime S_StudyDate { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime S_Birth { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public byte[] S_Photo { get; set; }
        #endregion
    }
}
